﻿<Window x:Class="PHPVHGUI.DialogWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="250" Width="380"
    Style="{StaticResource WindowStyle}" ResizeMode="NoResize">
    <Border Style="{StaticResource BorderStyle}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            
            <!--<Border Style="{StaticResource BorderStyle}">
                <TextBlock Margin="3" Text="Validation Errors" FontWeight="Bold" />
            </Border>-->
            
            <TextBox Grid.Row="1" AcceptsReturn="True" Height="Auto" Margin="4"
                     IsReadOnly="True" Text="{Binding Message}"
                     VerticalContentAlignment="Top"
                     
                       TextWrapping="Wrap"
                       ScrollViewer.VerticalScrollBarVisibility="Auto"/>            
            <StackPanel Grid.Row="2">
                <Button Content="OK" Click="OKButton_Click" />
            </StackPanel>
        </Grid>
    </Border>
</Window>
